package com.yida.system.api.domain;

import com.yida.common.core.annotation.Excel;
import com.yida.common.core.web.domain.BaseEntity;
import io.swagger.annotations.ApiModelProperty;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;


/**
 * 企业总线请求日志对象 esb_request_log
 * 
 * @author ruoyi
 * @date 2023-04-13
 */
public class EsbRequestLog extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Long id;

    /** 标题 */
    @Excel(name = "标题")
    @ApiModelProperty("标题")
    private String title;

    /** 请求路径 */
    @Excel(name = "请求路径")
    @ApiModelProperty("请求路径")
    private String url;

    /** 厂商对接接口配置主键 */
    @Excel(name = "厂商对接接口配置主键")
    @ApiModelProperty("厂商对接接口配置主键")
    private Long dockingInterfaceConfigId;

    /** 请求标识 */
    @Excel(name = "请求标识")
    @ApiModelProperty("请求标识")
    private String requestFlag;

    /** 请求参数 */
    @Excel(name = "请求参数")
    @ApiModelProperty("请求参数")
    private String requestParams;

    /** 响应 */
    @Excel(name = "响应")
    @ApiModelProperty("响应")
    private String response;

    /** 响应主键 */
    @Excel(name = "响应主键")
    @ApiModelProperty("响应主键")
    private String responeId;

    /** 删除标志（0：正常；1：删除） */
    private String delFlag;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setTitle(String title) 
    {
        this.title = title;
    }

    public String getTitle() 
    {
        return title;
    }
    public void setUrl(String url) 
    {
        this.url = url;
    }

    public String getUrl() 
    {
        return url;
    }
    public void setDockingInterfaceConfigId(Long dockingInterfaceConfigId) 
    {
        this.dockingInterfaceConfigId = dockingInterfaceConfigId;
    }

    public Long getDockingInterfaceConfigId() 
    {
        return dockingInterfaceConfigId;
    }
    public void setRequestFlag(String requestFlag) 
    {
        this.requestFlag = requestFlag;
    }

    public String getRequestFlag() 
    {
        return requestFlag;
    }
    public void setRequestParams(String requestParams) 
    {
        this.requestParams = requestParams;
    }

    public String getRequestParams() 
    {
        return requestParams;
    }
    public void setResponse(String response) 
    {
        this.response = response;
    }

    public String getResponse() 
    {
        return response;
    }
    public void setResponeId(String responeId) 
    {
        this.responeId = responeId;
    }

    public String getResponeId() 
    {
        return responeId;
    }
    public void setDelFlag(String delFlag) 
    {
        this.delFlag = delFlag;
    }

    public String getDelFlag() 
    {
        return delFlag;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("title", getTitle())
            .append("url", getUrl())
            .append("dockingInterfaceConfigId", getDockingInterfaceConfigId())
            .append("requestFlag", getRequestFlag())
            .append("requestParams", getRequestParams())
            .append("response", getResponse())
            .append("responeId", getResponeId())
            .append("delFlag", getDelFlag())
            .append("createTime", getCreateTime())
            .append("createBy", getCreateBy())
            .append("updateTime", getUpdateTime())
            .append("updateBy", getUpdateBy())
            .append("remark", getRemark())
            .toString();
    }
}
